Specification and programming (by graph transformation)
نویسنده
چکیده
In this tutorial, some basic ideas will be outlined and exempliied how graph transformation can be employed in speciication and programming. In particular, some of the respective achievements of the COMPUGRAPH project will be pointed out. Graphs are widely used in many areas of Computer Science and beyond to describe complex system states, structured objects, networks and relations among components. Rules are even wider used to deene permitted actions, updates , transitions and transformations. Typical examples can be found in functional and logical programming, term rewriting, theorem proving, Petri nets, etc. Graphs and rules together yield the paradigm of graph transformation of which one encounters quite a variety of approaches in the literature (see, e.g. 3,8,9,7,24]). Graph transformation provides a natural way to model systems and to analyze their behaviour. In this tutorial, some basic ideas will be outlined and exempliied how graph transformation can be employed in speciication and programming. In particular, some of the respective achievements of the COMPUGRAPH project will be pointed out. Three lines of recent investigations will be discussed in more detail. 1. Term graph and jungle rewriting As functional expressions and logical formulas can be represented by (hyper)-graphs, their evaluation can be eeciently implemented by (hyper)graph rewriting. This observation has led to the introduction and study of term graph and jungle rewriting (see, e.g., 2,10,27]). More recent development concern the use of functional term graph rewriting as a speciication language, sub-typing with inheritance, optimization, critical pairs and memorization (cf.
منابع مشابه
Graph Transformation for Specification and Programming
The framework of graph transformation combines the potentials and advantages of both, graphs and rules, to a single computational paradigm. In this paper we present some recent developments in applying graph transformation as a rule-based framework for the specification and development of systems, languages, and tools. After reviewing the basic features of graph transformation, we discuss a sel...
متن کاملSpecification and Construction of Control Flow Semantics a generic approach using graph transformations
The semantics of programming languages lack a formal, standardized specification language. We focus on control flow semantics and propose a graphical specification framework for these semantics, consisting of three elements: a graphical control flow specification language, a rule-based approach for constructing flow graphs and transformations from the former to the latter. In this thesis we int...
متن کاملTowards Symbolic Analysis of Graph Transformation Systems
Graph transformation has recently become more and more popular as a general, rule-based visual specification paradigm to formally capture the operational semantics of modeling languages based on metamodeling techniques as demonstrated, by benchmark applications focusing on the formal treatment of the Unified Modeling Language (UML). In the paper, we propose a model checking-based verification a...
متن کاملGeneric and Polymorphic Graph Transformations-Supporting the Definition of Visual Languages
In this paper we present a graph transformation based approach for the specification of reusable and extensible visual language definitions. It is based on the graph transformation language and environment PROGRES. We will see that PROGRES in its current form is not yet well-prepared for the construction of reusable and extensible specification fragments despite of the fact that a powerful pack...
متن کاملPattern composition in graph transformation rules
Graph transformation (GT) frequently serves as a precise underlying specification mechanism for model transformations within and between modeling languages. However, composability of graph transformation rules is typically limited to inter-level rule composition (i.e. rules calling other rules). In the current paper, we introduce intra-level composition for GT rules where the left-hand side and...
متن کاملEngineering Object-Oriented Semantics Using Graph Transformations
In this paper we describe the application of the theory of graph transformations to the practise of language design. We have defined the semantics of a small but realistic objectoriented language (called TAAL) by mapping the language constructs to graphs and their operational semantics to graph transformation rules. In the process we establish a mapping between UML models and graphs. TAAL was d...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 2 شماره
صفحات -
تاریخ انتشار 1995